package com.cn.bcyp.api.service;

import com.cn.bcyp.api.domain.StatisticsData;
import com.cn.bcyp.api.utils.HelperUtils;
import com.cn.bcyp.api.utils.HttpClientGet;
import com.cn.bcyp.api.utils.SendPort;

public class ReqPort extends SendPort {

	HelperUtils util = new HelperUtils();
	String result = "";
	String startTime = "";
	String endTime = "";

	Long startTime1;
	Long endTime1;

	StatisticsData sd = new StatisticsData();

	public String reqTypePost(String url, String Req_data, String Req_cookie) {
		result = sendPost(url, Req_data, Req_cookie);
		return result;
	}

	public String reqTypeGet(String url, String Req_cookie) {
		result = HttpClientGet.doGetCookie(url, Req_cookie);
		return result;
	}

}
